projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08da2f5
)
doc/manifest: add `cargo run --example`
author
Alex Burka
<durka42+github@gmail.com>
Sun, 3 Jan 2016 02:04:17 +0000
(21:04 -0500)
committer
Alex Burka
<durka42+github@gmail.com>
Sun, 3 Jan 2016 02:04:17 +0000
(21:04 -0500)
Closes #2251. Should it be mentioned anywhere else as well?
src/doc/manifest.md
patch
|
blob
|
history
diff --git
a/src/doc/manifest.md
b/src/doc/manifest.md
index 52c00c59e581c4c645abb27bec8b7f780f62c4e5..258ecf9f77e5a09c925a1a69640b295662db43a4 100644
(file)
--- a/
src/doc/manifest.md
+++ b/
src/doc/manifest.md
@@
-419,6
+419,8
@@
They must compile as executables (with a `main()` function) and load in the
library by using `extern crate <library-name>`. They are compiled when you run
your tests to protect them from bitrotting.
+You can run individual examples with the command `cargo run --example <example-name>`.
+
# Tests
When you run `cargo test`, Cargo will: